package com.example.orderform.server;
import com.example.orderform.vo.Order;
import com.example.orderform.vo.Refund;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface DeliverGoodsServer {

    List<Order>delivercha(int q,int j,int userid);
    int delivcha(int userid);
    Order deliorderxq(String orderid);

    List<Order> mhseleordernumber(String ordernumber);
    int tuikuang(String ordernumber);
    List<Refund> tuikuancha(int userid);

    String daihundjs(int orderid);
    int daihuogai(int orderid);

    int addordertow(@Param("userid")int userid ,
                    @Param("ordernumber")String ordernumber,
                    @Param("servicetype")String servicetype,
                    @Param("cargostatus")String cargostatus,
                    @Param("price")String price,
                    @Param("refundreason")String refundreason,
                    @Param("refundinstructions")String refundinstructions,
                    @Param("shoopname")String shoopname,
                    @Param("ordercolor")String ordercolor,

                    @Param("picture")String picture
                    );

    List<Order> daifahuo(int q,int j);
    int backfahuo(int orderid);
    List<Refund> selecopy2();
    int backcopy1(int orderid);
    int backcopy2(int id);
    int backcopy3(int orderid);
    List<Order> selefahuo(int userid);
    List<Refund> selecopys2();
    Order orderxn(int orderid);

}
